package com.deyuanyun.pic.pbf.service.impl;


import com.deyuanyun.pic.pbf.domain.TrenchExcavation;
import com.deyuanyun.pic.pbf.mapper.TrenchExcavationMapper;
import com.deyuanyun.pic.pbf.service.TrenchExcavationService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TrenchExcavationServiceImpl implements TrenchExcavationService {
    @Autowired
    private TrenchExcavationMapper trenchExcavationMapper;

    private static final Logger logger = LoggerFactory.getLogger(TrenchExcavationServiceImpl.class);

    public TrenchExcavation selectByPrimaryKey(String id) {
        return this.trenchExcavationMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.trenchExcavationMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TrenchExcavation record) {
        return this.trenchExcavationMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TrenchExcavation record) {
        return this.trenchExcavationMapper.updateByPrimaryKey(record);
    }

    public int insert(TrenchExcavation record) {
        return this.trenchExcavationMapper.insert(record);
    }
}